package com.dycx.system.dto;

import com.dycx.common.dto.PageDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;

@EqualsAndHashCode(callSuper = true)
@Data
public class LogDTO extends PageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 主机域名
     */
    private String host;

    /**
     * 路径
     */
    private String route;

    /**
     *
     */
    private String header;

    /**
     *
     */
    private String method;
    private String get;
    private String post;

    private String response;

    private String ip;
    private Integer speedTime;
    /**
     * 结果
     */
    private Boolean result;

    private Integer adminId;

    private Integer bizType;

    private String bizValue;

    private Integer source;

    private String logTitle;
    private String logRemark;

    /**
     * 时间范围
     */
    public ArrayList<LocalDateTime> timeRange;
}
